<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    
    <link rel="stylesheet" href="${APP_PATH}/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="${APP_PATH}/css/backstage/main.css">
    
    <%@include file="/WEB-INF/jsp/common/commoncss.jsp" %>
    <style>

        .tree li {
            list-style-type: none;
            cursor:pointer;
        }
        table tbody tr:nth-child(odd){background:#F4F4F4;}
        table tbody td:nth-child(even){color:#C00;}
    </style>
</head>
<body id="one" class="container">
<button type="button" class="btn btn-primary" onclick="add()" data-toggle="modal" data-target=".bs-example-modal-lg">新增</button>
<input type="hidden" id="crid" value="${crid}">
<table id="rotationchartTable"></table>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="myModal">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel" ></h4>
            </div>
            <div class="modal-body">
                <form action="" class="form-horizontal">
                    <div class="form-group">
                        <input type="hidden" class="form-control" id="caid">
                        <input type="hidden" class="form-control" id="comid" value="${comid}">
                        <label for="company" class="col-sm-2 control-label">单位</label>
                        <%--不可修改：disabled="disabled"--%>
                        <div class="col-sm-9">
                            <input type="text" class="form-control"  id="company">
                        </div>
                    </div>
                    <input type="hidden" id="commodityorder" value="0" >
                    <div class="form-group">
                        <label for="price" class="col-sm-2 control-label" >价格</label>
                        <div class="col-sm-9">
                            <input type="text" class="form-control" id="price">
                        </div>
                    </div>
                    <input type="hidden" id="state" value="1">
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" id="mod-but" class="btn btn-primary" data-dismiss="modal" onclick="" id="sava-edit-btn">保存</button>
            </div>
        </div>
    </div>
</div>
</body>
<%@include file="/WEB-INF/jsp/common/commonjs.jsp" %>
<script src="${APP_PATH}/js/bootstrap-table-zh-CN.js" charset="utf-8"></script>
<script src="${APP_PATH}/js/common/common.js/common.js"></script>
<script src="${APP_PATH}/js/commodity/CommodityAllocation.js"></script>

</html>
